<template>
    <h1 class="not-select">
        无权限访问页面，请联系管理员
    </h1>
    <h1>
        <el-button type="text" @click="backHome">
            返回首页
        </el-button>
    </h1>
</template>

<script lang="ts" setup>
import { toPage } from '@jsjn/micro-core-micro-main/navTo'

const backHome = () => {
    toPage({
        type: 'replace',
        path: '/'
    })
}
</script>

<style lang="scss" scoped>
h1 {
    margin-top: 100px;
    text-align: center;
    color: var(--el-color-warning-light-3);

    .el-button {
        --jn-ve-g-base-font-size-s: 30px;
        color: var(--el-color-warning);
    }
}
</style>
